package com.ll.blog.mapper;

import com.ll.blog.entity.SensitiveWord;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;
import org.w3c.dom.stylesheets.LinkStyle;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 作者
 * @since 2024-03-08
 */
public interface SensitiveWordMapper extends BaseMapper<SensitiveWord> {
    @Select("SELECT word FROM sensitive_word")
    public List<String> getAll();
}
